package sctu.edu.java.year2016.team03.liyouhong.day20160522.chapter4_1;

/**
 * Created by Administrator on 2016/5/23 0023.
 * 1.编写java程序，实现判断变量x是奇数还是偶数。
 */
public class Li {
    public static void main(String[] args) {
        int x=13;
        if(x%2==0)
            System.out.println("变量x是偶数" );
        else
            System.out.println("变量x是奇数");
    }

}
